package com.elong.android.specialhouse.entity;

import com.alibaba.fastjson.annotation.JSONField;

import java.io.Serializable;
import java.util.List;


public class ApartmentListResponse implements Serializable{
	
	public boolean IsError = false;
	public String ErrorMessage = "";
	public int HouseCount;
	public List<com.elong.android.specialhouse.entity.HouseItemList> HouseItemList;
	
	
	public void clearHouseData(){
		HouseCount= 0;
		if(HouseItemList!=null){
			HouseItemList.clear();
		}
	}
	@JSONField(name= "IsError")
	public boolean isIsError() {
		return IsError;
	}
	@JSONField(name= "IsError")
	public void setIsError(boolean isError) {
		IsError = isError;
	}
	
	@JSONField(name= "ErrorMessage")
	public String getErrorMessage() {
		return ErrorMessage;
	}
	
	@JSONField(name= "ErrorMessage")
	public void setErrorMessage(String errorMessage) {
		ErrorMessage = errorMessage;
	}
	
	@JSONField(name= "HouseCount")
	public int getHouseCount() {
		return HouseCount;
	}
	
	@JSONField(name= "HouseCount")
	public void setHouseCount(int houseCount) {
		HouseCount = houseCount;
	}
	
	@JSONField(name= "HouseItemList")
	public List<com.elong.android.specialhouse.entity.HouseItemList> getHouseItemList() {
		return HouseItemList;
	}
	
	@JSONField(name= "HouseItemList")
	public void setHouseItemList(List<com.elong.android.specialhouse.entity.HouseItemList> houseItemList) {
		HouseItemList = houseItemList;
	}
}
